package com.yangyouli.unity_demo_server.server.serializeModel;

public class FriendsApplication {
	private int applicantUserId;
	private int respondentUserId;
	private String applicationMessage;
	private long applicationTime;
	private boolean read;
	private long expireTime;
	
	public FriendsApplication () {}
	
	public FriendsApplication(int applicantUserId, int respondentUserId, String applicationMessage,
			long applicationTime, boolean read) {
		super();
		this.applicantUserId = applicantUserId;
		this.respondentUserId = respondentUserId;
		this.applicationMessage = applicationMessage;
		this.applicationTime = applicationTime;
		this.read = read;
	}
	
	public int getApplicantUserId() {
		return applicantUserId;
	}
	public void setApplicantUserId(int applicantUserId) {
		this.applicantUserId = applicantUserId;
	}
	public int getRespondentUserId() {
		return respondentUserId;
	}
	public void setRespondentUserId(int respondentUserId) {
		this.respondentUserId = respondentUserId;
	}
	public String getApplicationMessage() {
		return applicationMessage;
	}
	public void setApplicationMessage(String applicationMessage) {
		this.applicationMessage = applicationMessage;
	}
	public long getApplicationTime() {
		return applicationTime;
	}
	public void setApplicationTime(long applicationTime) {
		this.applicationTime = applicationTime;
	}
	public boolean isRead() {
		return read;
	}
	public void setRead(boolean read) {
		this.read = read;
	}
	public long getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(long expireTime) {
		this.expireTime = expireTime;
	}
	@Override
	public String toString() {
		return "FriendsApplication [applicantUserId=" + applicantUserId + ", respondentUserId=" + respondentUserId
				+ ", applicationMessage=" + applicationMessage + ", applicationTime=" + applicationTime + ", read="
				+ read + ", expireTime=" + expireTime + "]";
	}
}
